package cn.tedu.tenengdong.mapper;


import cn.tedu.tenengdong.pojo.entity.Banner;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BannerMapper {
    List<Banner> select();

    void deleteById(int id);

    void insert(String url);


    String selectUrlById(int id);

    Banner selectById(int id);

    void update(Banner banner);
}
